﻿using System.Runtime.Serialization;

namespace Kiln.Net {
    /// <summary>
    /// Represents a registered user of the Kiln account.
    /// </summary>
    [DataContract]
    public class Person {
        /// <summary>
        /// A unique person identifier.
        /// </summary>
        [DataMember(Name = "ixPerson")]
        public int ID { get; private set; }

        /// <summary>
        /// The person's name.
        /// </summary>
        [DataMember(Name = "sName")]
        public string Name { get; set; }

        /// <summary>
        /// The person's email address.
        /// </summary>
        [DataMember(Name = "sEmail")]
        public string Email { get; set; }
    }
}